@import "commonone.less";

body {
    background-color: #f1f1f1;
    overflow: scroll;
}

//搜索栏部分
.mmm_search {
    padding: 10px;
    background-color: #fff;
    box-sizing: border-box;
    margin-bottom: 10px;

    >form {
        padding-right: 70px;
        position: relative;
        height: 30px;
    }

    >form>input {
        border-radius: 15px;
        height: 30px;
        border: none;
        vertical-align: middle;
    }

    >form>input[type="search"] {
        width: 100%;
        background-color: #f1f1f1;
        text-align: left;
        text-indent: 15px;
        padding: 3px 0 0 0;
        box-sizing: border-box;
    }

    >form>input[type="submit"] {
        position: absolute;
        top: 0;
        right: 0;
        background-color: #ff841d;
        color: #fff;
        width: 63px;
        font-size: 16px;
    }
}

//导航部分
.main_nav {
    background-color: #fff;
    padding: 6px;
    margin-bottom: 10px;

    .nav_list {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;


        >li {
            margin-bottom: 10px;
            width: 25%;
            // height: 100px;
            text-align: center;
            list-style: none;


            >a {
                display: block;


                >p {
                    width: 45%;
                }


                >p {
                    margin-top: 5px;
                    font-size: 14px;
                }
            }
        }
    }
}

//超值折扣推荐部分
.mmm_recommenti {
    background-color: #fff;
    .mmm_recommen_title {
        width: 100%;
        background-color: #ff9000;
        position: relative;
        p {
            height: 33px;
            color: #fff;
            line-height: 33px;
            font-size: 15px;
            font-weight: 500;
            margin-left: 20px;
        }
        i {
            color: #fff;
            font-size: 22px;
            position: absolute;
            right: 10px;
            top: 5px;
        }
    }
}

.mmm_recommen {
    width: 100%;
    >.mmm_media {
        width: 100%;
        display: flex;
        box-sizing: border-box;
        padding: 10px;
        margin-bottom: 3px;
        background-color: #fff;

        >.medialeft {
            flex: 2;
            margin-right: 10px;
        }

        >.mediaright {
            flex: 8;

            >a {
                >h5 {
                    font-size: 14px;
                    color: black;
                    margin-top: 12px;
                    margin-bottom: 12px;
                }

                >p {
                    font-size: 18px;
                    color: #e92322;
                    margin-bottom: 12px;
                }

                >span {
                    color: #666;
                    font-size: 14px;
                }

                >.comment {
                    float: right;
                    margin-right: 20px;
                    font-size: 15px;

                    >i {
                        font-size: 14px;
                        margin-right: 4px;
                        color: #999;
                    }
                }
            }
        }
    }
}

//更多优惠部分
.recommen-more{
    display: flex;
    padding: 12px;
    box-sizing: border-box;
    a{
        display: block;
        flex: 1;
        width: 100%;
        border:1px solid #ccc;
        text-align: center;
        height: 35px;
        line-height: 35px;
        border-radius: 5px;
        color: black;
        background-color: #fff;
    }
}

//品牌部分
.mmm_brandti2 {
    background-color: #fff;
    margin-top: 5px;
    margin-bottom: 5px;
    .mmm_brand_title {
        width: 100%;
        background-color: #ff9000;
        position: relative;
        p {
            height: 33px;
            color: #fff;
            line-height: 33px;
            font-size: 15px;
            font-weight: 500;
            margin-left: 20px;
        }
        i{
            color: #fff;
            font-size: 22px;
            position: absolute;
            right: 10px;
            top: 5px;
        }
    }
}

//底部部分
.mmm_footer{
    display: flex;
    text-align: center;
    color: black;
    height: 40px;
    background-color: #fff;
    .mmm_footer_left{
        flex: 1;
        outline: 1px solid #d7d7d7;
        line-height: 40px;
    }
    .mmm_footer_center{
        flex: 1;
        outline: 1px solid #d7d7d7;
        line-height: 40px;
    }
    .mmm_footer_right{
        flex: 1;
        outline: 1px solid #d7d7d7;
        line-height: 40px;
    }
    a{
        color: black;
        font-size: 16px;
    }
}

//版权部分
.copyright{
    width: 100%;
    text-align: center;
    margin-top: 15px;
    background-color: #fff;
    p{
       color: black;
    }
    p:nth-child(1){
        font-size: 11px;
    }
    span{
        color: red;
    }
}